package com.bana.fvs.app.mvp.contract;

import android.app.Activity;

import com.bana.fvs.app.main.entity.UserInfoBean;
import com.bana.fvs.app.mvp.model.BaseModel;
import com.bana.fvs.app.mvp.presenter.BasePresenter;
import com.bana.fvs.app.mvp.view.IBaseView;
import com.wei.commonlibrary.net.OkhttpRequest;

/**
 * Created by admin on 2018/02/26.
 * 登录
 */
public interface LoginContract {

    abstract class AbsLoginModel extends BaseModel {
        public abstract OkhttpRequest http_login(String username, String password);
    }

    abstract class AbsLoginPresenter extends BasePresenter<AbsLoginModel, ILoginView> {
        public abstract void http_login(Activity activity, String username, String password);
    }

    interface ILoginView extends IBaseView<UserInfoBean> {
    }
}
